package com.itheima.app.log;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;

//@Component
public class QuickJob {


    // 定时任务方法声明：public修饰，没有返回值，没有形参
    // @Scheduled(fixedDelay =5000)
    @Scheduled(cron = "0 0 24 * * ?")
    public void quick(){


    }
}